package site.zbox.tool.swing.xml.component;

import javax.swing.JComboBox;
import javax.swing.JComponent;

import org.dom4j.Element;

import site.zbox.tool.lang.Version;
import site.zbox.tool.swing.xml.IComponentParser;

@Version("2021.08.12")
public class ComboBoxComponentParser implements IComponentParser {
    @Override
    public String name() {
        return "ComboBox";
    }

    @Override
    public JComponent parse(Element element) {
        final JComboBox<Object> comboBox = new JComboBox<>();
        return comboBox;
    }
}
